package com.hghivln.service;

import com.hghivln.pojo.domain.Scheduling;
import com.hghivln.pojo.domain.User;
import com.hghivln.pojo.dto.SchedulingFormDto;
import com.hghivln.pojo.dto.SchedulingQueryDto;
import com.hghivln.pojo.vo.AjaxResult;

import java.util.List;

public interface SchedulingService {

    /**
     * 保存排班信息
     */
    AjaxResult saveScheduling(SchedulingFormDto schedulingFormDto);

    /**
     * 查询要排班医生的排班信息(上x周或下x周或当前周)
     */
    AjaxResult queryUsersNeedScheduling(SchedulingQueryDto schedulingQueryDto);

    /**
     * 查询排班数据  返回值要填充schedulingData tableData labelNames
     */
    List<User> selectUsersNeedScheduling(SchedulingQueryDto schedulingQueryDto);
}
